]> dgit.raspbian.org Git - gnome-shell.git/commit
loginDialog: defer loading user list until idle
authorRay Strode <rstrode@redhat.com>
Thu, 9 Jan 2014 15:42:08 +0000 (10:42 -0500)
committerRay Strode <rstrode@redhat.com>
Mon, 13 Jan 2014 17:42:33 +0000 (12:42 -0500)
commit2d2020a20d8f4622b9acea6b15eb645b8580693c
tree1b4fd3f4e637bdd6929dd99320eb907998e067ec
parent03ab282f67daf6fbb68b4df7a7d3b1dfbdf84d48
loginDialog: defer loading user list until idle

In some cases we load the user list after going back
to main loop and in other cases we load the user list
right away (depending on if accounts service is ready).

In the case we load the user list right away we cause a
traceback because loading the user list forces a reset,
which then tries to reset actors which aren't instantiated
yet.

This commit ensures the user list is loaded after the constructor
finishes and the event loop runs irregardless of the accountsservice
state.

https://bugzilla.gnome.org/show_bug.cgi?id=721868
js/gdm/loginDialog.js